package com.ruoyi.admin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 互动信息对象 zhx_note
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public class ZhxNote extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long noteId;

    /** 信息类型（1接龙点赞 2评论点赞 3话题点赞 4评论 5回复）*/
    @Excel(name = "信息类型", readConverterExp = "1=接龙点赞,2=评论点赞,3=话题点赞,4=评论,5=回复")
    private String noteType;

    /** 信息主体id */
    @Excel(name = "信息主体id")
    private Long noteBodyId;

    /** 发送用户id */
    @Excel(name = "发送用户id")
    private Long userId;

    /** 接收用户id */
    @Excel(name = "接收用户id")
    private Long toUserId;

    /** 是否已读（0未读 1已读） */
    @Excel(name = "是否已读", readConverterExp = "0=未读,1=已读")
    private String isRead;

    public void setNoteId(Long noteId) 
    {
        this.noteId = noteId;
    }

    public Long getNoteId() 
    {
        return noteId;
    }
    public void setNoteType(String noteType) 
    {
        this.noteType = noteType;
    }

    public String getNoteType() 
    {
        return noteType;
    }
    public void setNoteBodyId(Long noteBodyId) 
    {
        this.noteBodyId = noteBodyId;
    }

    public Long getNoteBodyId() 
    {
        return noteBodyId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public Long getToUserId() {
        return toUserId;
    }

    public void setToUserId(Long toUserId) {
        this.toUserId = toUserId;
    }
    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noteId", getNoteId())
            .append("noteType", getNoteType())
            .append("noteBodyId", getNoteBodyId())
            .append("userId", getUserId())
            .append("toUserId", getToUserId())
            .append("isRead", getIsRead())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
